package com.example.company.mapper;

import com.example.company.entity.Salariesbenefits;

import java.util.List;

/**
 * 存储员工薪酬福利信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-30
 */
public interface SalariesbenefitsMapper {
	/**
	 * 查询存储员工薪酬福利信息
	 *
	 * @param SalariesBenefitsID 存储员工薪酬福利信息主键
	 * @return 存储员工薪酬福利信息
	 */
	Salariesbenefits selectSalariesbenefitsBySalariesBenefitsID(Long SalariesBenefitsID);
	
	/**
	 * 查询存储员工薪酬福利信息列表
	 *
	 * @param salariesbenefits 存储员工薪酬福利信息
	 * @return 存储员工薪酬福利信息集合
	 */
	List<Salariesbenefits> selectSalariesbenefitsList(Salariesbenefits salariesbenefits);
	
	/**
	 * 新增存储员工薪酬福利信息
	 *
	 * @param salariesbenefits 存储员工薪酬福利信息
	 * @return 结果
	 */
	int insertSalariesbenefits(Salariesbenefits salariesbenefits);
	
	/**
	 * 修改存储员工薪酬福利信息
	 *
	 * @param salariesbenefits 存储员工薪酬福利信息
	 * @return 结果
	 */
	int updateSalariesbenefits(Salariesbenefits salariesbenefits);
	
	/**
	 * 删除存储员工薪酬福利信息
	 *
	 * @param SalariesBenefitsID 存储员工薪酬福利信息主键
	 * @return 结果
	 */
	int deleteSalariesbenefitsBySalariesBenefitsID(Long SalariesBenefitsID);
	
	/**
	 * 批量删除存储员工薪酬福利信息
	 *
	 * @param SalariesBenefitsIDs 需要删除的数据主键集合
	 * @return 结果
	 */
	int deleteSalariesbenefitsBySalariesBenefitsIDs(Long[] SalariesBenefitsIDs);
}
